﻿using Adalbertus.BudgetPlanner.Domain;
using FluentNHibernate.Mapping;

namespace Adalbertus.BudgetPlanner.Infrastructure.Mapping
{
    public class RevenueMap : ClassMap<Revenue>
    {
        public RevenueMap()
        {
            Id(x => x.Id);
            Map(x => x.Value);
            Map(x => x.Date);

            References(x => x.Source);
        }
    }
}
